package com.mqzhang.common.mybatis;

import org.mybatis.spring.support.SqlSessionDaoSupport;

/**
 * mybatis操作模板
 * 
 * @author mq.zhang at 2016/05/27
 *
 */
public class DaoClientTemplate extends SqlSessionDaoSupport implements DaoClient {

	@Override
	public <T> T getMapper(Class<T> clazz) {
		return getSqlSession().getMapper(clazz);
	}

}
